{include file=member.header.html} 
<script type="text/javascript">
var _orig_goods_amount = {$order.goods_amount},
    _orig_shipping_fee = {$shipping.shipping_fee},
    _orig_order_amount = {$order.order_amount};
$(function(){
    $('#goods_amount_input').keyup(function(){
        recount_order_amount();
    });
    $('#shipping_fee_input').keyup(function(){
        recount_order_amount();
    });
});
function recount_order_amount(){
    var order_amount = 0;
    order_amount = Number($('#goods_amount_input').val()) + Number($('#shipping_fee_input').val());
    $('#order_amount').html(price_format(order_amount));
}
</script>
<div id="page-seller-order">
	<div class="adjust-fee-body padding10">
		<form class="J_AjaxForm" method="post">
			<div class="clearfix">
				<p class="float-left">{$lang.buyer_name}{$lang.colon}{$order.buyer_name|escape}</p>
				<p class="float-right">{$lang.order_sn}:{$order.order_sn}</p>
			</div>
			<ul class="foll_in mt20">
				<li class="mt10">
					<p>{$lang.goods_amount}{$lang.colon}<strong class="color8">{$order.goods_amount|price}</strong></p>
					<p>
						<input type="text" id="goods_amount_input" class="J_AjaxFormFields input-s1 mt5" name="goods_amount" value="{$order.goods_amount}"/>
					</p>
				</li>
				<li class="mt10">
					<p>{$lang.shipping_fee}{$lang.colon}<strong class="color8">{$shipping.shipping_fee|price}</strong></p>
					<p>
						<input type="text" id="shipping_fee_input" class="J_AjaxFormFields input-s1 mt5" name="shipping_fee" value="{$shipping.shipping_fee}" />
					</p>
				</li>
				<li class="mt10">{$lang.adjust_fee_notice}</li>
				<li class="mt10">{$lang.order_amount}{$lang.colon}<strong id="order_amount">{$order.order_amount|price}</strong></li>
			</ul>
			<div class="mt10">
				<input type="submit" class="J_AjaxFormSubmit btn-alipay mt20" value="{$lang.confirm}" />
			</div>
		</form>
	</div>
</div>
{include file=footer.html}